package pers.cz.testNg;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @program: PostGirl-panent
 * @description: Cache
 * @author: Cheng Zhi
 * @create: 2021-03-08 12:27
 **/
public class Cache {

    public Map<String,MultipartFile> map;
    private static Cache cache;
    public static Cache getCache() {

        if (cache == null) {
            cache = new Cache();
        }

        return cache;
    }
    public Map<String, MultipartFile> getMap() {
        return map;
    }

    public void setMap(Map<String, MultipartFile> map) {
        this.map = map;
    }
}
